Why pay full price? Access GPT-4o and Claude 3.5 through a single, unified API. Stop juggling multiple providers. Start saving today.
# Simple API request with cURL curl -X POST "https://api.graphine.ai/v1/completions" \ -H "Content-Type: application/json" \ -H "X-API-Key: YOUR_API_KEY" \ -d '{"prompt": "Write a product description for a new smartphone", "model": "gpt-4o"}'
# Simple API request with Python import requests response = requests.post( "https://api.graphine.ai/v1/completions", headers={ "Content-Type": "application/json", "X-API-Key": "YOUR_API_KEY" }, json={ "prompt": "Write a product description for a new smartphone", "model": "gpt-4o" # Use any supported model } ) result = response.json() print(result["data"]["text"])
// Simple API request with JavaScript fetch('https://api.graphine.ai/v1/completions', { method: 'POST', headers: { 'Content-Type': 'application/json', 'X-API-Key': 'YOUR_API_KEY' }, body: JSON.stringify({ 'prompt': 'Write a product description for a new smartphone', 'model': 'gpt-4o' // Use any supported model }) }) .then(response => response.json()) .then(data => console.log(data.data.text));
See how much you actually save compared to direct providers
Choose the package that fits your needs
Perfect for smaller businesses and individual developers
Ideal for growing businesses with moderate AI needs
For businesses with substantial AI integration
For large-scale AI operations and mission-critical applications
See how much you actually save compared to direct providers
| Model | Direct Provider Cost* | Graphine API Cost | Savings |
|---|---|---|---|
| GPT-4o | €0.0125/1K tokens | €0.006/1K tokens | 52% savings |
| Claude 3.5 | €0.009/1K tokens | €0.006/1K tokens | 33% savings |
*Approximate average of input and output costs from direct providers. Our unified API lets you access premium models at significantly lower prices.
One unified currency for all your AI needs:
Each credit covers 1,000 tokens of combined input and output. For example, if your request uses 600 tokens and the response is 400 tokens, that's exactly 1 credit.