Find API Keys
Learn how to find API keys for various Online AI services
API keys are required to access the services provided by Online AI services. Here's how you can find the API keys for various Online AI services:
Key Visibility
- Only Once: You're only going to see your raw API key once, so make sure you copy it somewhere safe, otherwise you have to delete it and recreate a new one.
- Anytime: You're able to see your raw API key in the clear at any time.
Anthropic
- API Endpoint:
https://api.anthropic.com/v1
- API Key URL: https://console.anthropic.com/settings/keys
- Key Visibility: Only Once
- Usage Dashboard: https://console.anthropic.com/settings/usage
- Token Pricing Information: https://www.anthropic.com/pricing#anthropic-api
Cohere
- API Endpoint:
https://api.cohere.ai/v1
- API Key URL: https://dashboard.cohere.com/api-keys
- Key Visibility:
- Trial: Anytime
- Prod: Only Once
- Usage Dashboard: https://dashboard.cohere.com/billing
- Token Pricing Information: https://cohere.com/pricing
Gemini
- API Endpoint:
https://generativelanguage.googleapis.com/v1
- API Key URL: https://aistudio.google.com/app/apikey
- Key Visibility: Anytime
- Usage Dashboard: https://console.cloud.google.com/billing/
- Token Pricing Information: https://ai.google.dev/pricing (tons of free usage)
Groq
- API Endpoint:
https://api.groq.com/v1
- API Key URL: https://console.groq.com/keys
- Key Visibility: Only Once
- Usage Dashboard: https://console.groq.com/settings/usage
- Token Pricing Information: https://console.groq.com/settings/usage (Scroll down for pricing)
Mistral AI
- API Endpoint:
https://api.mistral.ai/v1
- API Key URL: https://console.mistral.ai/api-keys/
- Key Visibility: Only Once
- Usage Dashboard: https://console.mistral.ai/usage/
- Token Pricing Information: https://mistral.ai/technology/ (Scroll all the way down to "Pay-as-you-go pricing")
OpenAI
- API Endpoint:
https://api.openai.com/v1/
- API Key URL: https://platform.openai.com/api-keys
- Key Visibility: Only Once
- Usage Dashboard: https://platform.openai.com/usage
- Token Pricing Information: https://openai.com/api/pricing/
OpenRouter
- API Endpoint:
https://openrouter.ai/api/v1
- API Key URL: https://openrouter.ai/settings/keys
- Key Visibility: Only Once
- Usage Dashboard: https://openrouter.ai/activity
- Token Pricing Information: https://openrouter.ai/models (there's a million models here)
Perplexity
- API Endpoint:
https://api.perplexity.ai
- API Key URL: https://www.perplexity.ai/settings/api
- Key Visibility: Anytime
- Usage Dashboard: https://www.perplexity.ai/settings/api
- Token Pricing Information: https://docs.perplexity.ai/docs/pricing
Together.ai
- API Endpoint:
https://api.together.xyz/v1
- API Key URL: https://api.together.ai/settings/api-keys
- Key Visibility: Anytime
- Usage Dashboard: https://api.together.xyz/settings/billing
- Token Pricing Information: https://api.together.xyz/models
SambaNova
- API Endpoint:
https://api.sambanova.ai/v1
- API Key URL: https://cloud.sambanova.ai/apis
- Key Visibility: Only Once
- Usage Dashboard: https://cloud.sambanova.ai/usage
- Token Pricing Information: https://cloud.sambanova.ai/pricing
(Special thanks to our Discord community member, Frewtloops, for compiling this list!)