Capriole AI’s API at https://api.caprioletech.com is compatible with OpenAI Chat Completions, OpenAI Responses, and Anthropic Messages, so one key serves your apps and coding agents at up to 92% less than official API prices.
Base URL
https://api.caprioletech.com
Get started in two steps
1. Create an API key
An API key needs Premium (USD 9 per month) or Team. Create your key from the Capriole AI API page after signing in.
2. Call POST /v1/chat/completions
Send a simple text request.
For long tasks such as web search or long reasoning, set "stream": true. Without streaming, the connection can time out after about 2 minutes.
Protocol-compatible endpoints
Use POST /v1/responses for OpenAI Responses clients, POST /v1/chat/completions for OpenAI Chat Completions clients, and POST /v1/messages for Anthropic Messages clients.
Use openai-latest, claude-latest, or google-latest when you want Capriole AI to choose our recommended flagship model for that provider. Use a concrete model ID when you need one exact model version. Choose a model lists the IDs and what each vendor builds its models for.
Latest aliases are input shortcuts. Capriole AI records usage against the resolved model, while protocol-compatible response bodies keep the model fields returned by the upstream-compatible endpoint.
Quick answers
Should the base URL include /v1?
Use https://api.caprioletech.com for direct API calls. Some coding agents ask for a provider base URL; follow the integration page for that agent because OpenAI-compatible and Anthropic-compatible clients expect different base URLs.
Which latest aliases work on each endpoint?
POST /v1/chat/completions supports all three latest aliases. POST /v1/responses supports openai-latest. POST /v1/messages supports claude-latest plus concrete Claude Messages IDs such as claude-fable-5-1, claude-fable-5, claude-opus-5-5, claude-opus-5, claude-opus-4-8, claude-opus-4-7, claude-opus-4-6, and claude-sonnet-4-6.
Why does the response model not show the alias I sent?
That is expected. The alias is only used to pick the model. Responses keep the model naming behavior of the selected endpoint.
Why did I get an unsupported model error?
Use a latest alias only on an endpoint that supports it, or switch to a concrete model ID listed by GET /v1/models.
Does /v1/messages/count_tokens always work?
It accepts claude-latest and concrete Claude Messages IDs. Token counting depends on the selected upstream supporting Anthropic token counting.
Continue with an SDK
Use the OpenAI and Anthropic SDK guide to run protocol-native Python or TypeScript clients with the same Capriole AI API key.
After the first request, use the API keys and usage guide to verify the key, model, status, and charged-token record. Last modified on November 9, 2026