Explore Plans
Mobile menu Close menu
Venice AI

Ask Venice

Pro plus icon This query sends a prompt to a Venice text model and returns the reply.

Developer info

API endpoint slug
venice_ai.ask_venice
Runtime method
performQuery("venice_ai.ask_venice"}

Query fields

Prompt Text input > Long text

Label
Prompt
Helper text
What you want Venice to do.
Slug
prompt
Required
true
Can have default value
true

Model Nested dropdown list

Label
Model
Helper text
Pick a model. The Recommended group is the short answer; All text models is the full catalogue if you want a specific one.
Slug
model
Required
true
Can have default value
false

Role Text input

Label
Role
Helper text
Optional. Tell the model who it should be, for example answer as a concise technical editor.
Slug
role
Required
false
Can have default value
true

Use web Dropdown list

Label
Use current web results
Helper text
Choose Yes to let the model look things up on the web before answering.
Slug
use_web
Required
false
Can have default value
true

Ingredients

Response Response. From choices[0].message.content.

Slug
response
Filter code
VeniceAi.askVenice.Response
Type
String
Example
Here are the three main points from the article: ...

Model used Model used. From model, echoed by the API, so it reveals which model a trait alias resolved to. Confirmed live: the alias default resolved to zai-org-glm-5-2.

Slug
model_used
Filter code
VeniceAi.askVenice.ModelUsed
Type
String
Example
zai-org-glm-5-2

Prompt used Prompt used. Copied from the query's own field value, matching the PromptUsed convention already shipped on the gemini and leonardo_ai channels.

Slug
prompt_used
Filter code
VeniceAi.askVenice.PromptUsed
Type
String
Example
Summarise this article in three points

Tokens used Tokens used. Numeric value as a string. From usage.total_tokens. Note this includes Venice's injected system prompt unless the request sets include_venice_system_prompt to false, which the channel does.

Slug
tokens_used
Filter code
VeniceAi.askVenice.TokensUsed
Type
String
Example
842

Answered at Answered at. The completion object's created field is epoch seconds; converted to ISO 8601.

Slug
answered_at
Filter code
VeniceAi.askVenice.AnsweredAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06+05:00

Cost usd Cost. Numeric value as a string. What this request actually cost in USD, from the response's cost object. Undocumented in the published spec; found on a funded response.

Slug
cost_usd
Filter code
VeniceAi.askVenice.CostUsd
Type
String
Example
0.00064