- 01
Install the helper, or copy the base URL.
Run the helper for a coding agent, or take the base URL from the API reference and point your SDK at it.
Shell npx @aikeys-co/helpernpx @aikeys-co/helper
- 02
Create an API key.
Open keys and create an inference key. The full secret is shown once.
- 03
Deposit USDC on Solana.
Open deposit. Send USDC on Solana to the address on that page. Only that asset on that network is credited.
- 04
Send a first request.
Use chat completions or messages. Pick a model id from the pricing list.
cURL · chat completions curl https://api.aikeys.co/v1/chat/completions \ -H "Authorization: Bearer $AIKEYS_CO_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"cc/claude-haiku-4-5","messages":[{"role":"user","content":"Hello"}]}'curl https://api.aikeys.co/v1/chat/completions \ -H "Authorization: Bearer $AIKEYS_CO_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"cc/claude-haiku-4-5","messages":[{"role":"user","content":"Hello"}]}'cURL · messages curl https://api.aikeys.co/v1/messages \ -H "x-api-key: $AIKEYS_CO_KEY" \ -H "anthropic-version: 2023-06-01" \ -H "Content-Type: application/json" \ -d '{"model":"cc/claude-haiku-4-5","max_tokens":256,"messages":[{"role":"user","content":"Hello"}]}'curl https://api.aikeys.co/v1/messages \ -H "x-api-key: $AIKEYS_CO_KEY" \ -H "anthropic-version: 2023-06-01" \ -H "Content-Type: application/json" \ -d '{"model":"cc/claude-haiku-4-5","max_tokens":256,"messages":[{"role":"user","content":"Hello"}]}' - 05
Read the API reference.
Surfaces, auth, and key types are on the API page.