Start here
Use the Acosmi model API to connect models to your application. Choose a model and configuration in the catalog, then authenticate with a personal PAYG key.
- Compare models and current prices: check protocol, capabilities, context and availability.
- Prepare an API key with personal
models:chatpermission. - Make your first request using the selected configuration’s example.
- Handle streams and errors and retain request identifiers.
- Inspect usage and costs: delivery and settlement are separate states.
Choose an interface
| Need | Reference |
|---|---|
| OpenAI Chat Completions format | POST /v1/chat/completions |
| Anthropic Messages format | POST /v1/messages |
| Discover models and configurations | Catalog API |
| Image or video generation | Media API availability |
| Membership, Agent or compliance APIs | Membership OAuth and SDK, other APIs |
Protocol compatibility does not imply support for every vendor endpoint. Models, parameters and prices depend on the configuration. Being visible in the catalog does not mean a model is callable.
Pricing and accounts
The domestic service settles in CNY; USD is a reference equivalent. API Credits and membership balances are separate. Pending prices are not free usage, and vendor reference prices are not platform charges. Read the billing guide.
Find documentation
Tutorials explain the steps, API references describe requests and responses, and guides cover streaming, tools, limits, errors and billing. A machine-readable OpenAPI specification is also available.