Skip to main content

Getting Started

AnyAPI provides a unified API interface to access multiple AI models and services through a single endpoint. We offer automatic failover, intelligent routing, and cost optimization across hundreds of different AI models and providers, making it easy to integrate AI capabilities into your applications.
  • Unified Interface: Access all major AI models through one consistent API
  • Automatic Fallbacks: Built-in redundancy ensures high availability
  • Cost Optimization: Intelligent routing to find the most cost-effective options
  • Simplified Billing: One account, one bill for all your AI model usage
  • Better Uptime: Pooled provider reliability for superior service availability
  1. Create an account at anyapi.ai
  2. Add credits to your account on the Credits page
  3. Generate API keys from your dashboard
  4. Start making requests using our quickstart guide
  5. Monitor your usage through the analytics dashboard
We offer multiple support channels:
  • Discord Community: Join our Discord server for real-time help
  • Email Support: Contact support@anyapi.ai for technical issues
  • Documentation: Browse our comprehensive docs
  • Community Forums: Visit our community forums for user discussions
For the fastest response, try our Discord #help channel where community members and staff are active.

Models and Providers

AnyAPI provides access to a wide variety of AI models:
  • Language Models: GPT, Claude, Gemini, Llama, and more
  • Vision Models: Image understanding and generation
  • Audio Models: Speech-to-text and text-to-speech
  • Specialized Models: Embeddings, code generation, reasoning
We continuously add new models as they become available. We maintain partnerships with major AI labs to offer cutting-edge models as soon as they’re released.
Want to see a specific model? Let us know on Discord and we’ll prioritize it.

API Technical Specifications

AnyAPI supports multiple authentication methods:
curl https://api.anyapi.ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY"
  • API Keys: Bearer token authentication for programmatic access
  • OAuth 2.0: Standard OAuth flow for third-party integrations
  • Session Auth: Cookie-based authentication for web interfaces
  • Webhook Auth: HMAC-based verification for webhook endpoints
Rate limits depend on your account tier:
TierDaily RequestsCredits Required
Free50 requests$0
Basic1,000 requests$10+ balance
Pro10,000 requests$100+ balance
EnterpriseCustom limitsCustom agreement
Rate limits reset daily at midnight UTC and apply per API key.
We support multiple input formats:
  • Text: UTF-8 encoded text in various formats
  • Images: JPEG, PNG, WebP (via URL or base64)
  • Audio: MP3, WAV, FLAC, M4A files
  • Documents: PDF support (coming soon)
  • Structured Data: JSON, CSV, XML
For best performance, use URLs for large files instead of base64 encoding.
Enable real-time streaming responses:
import openai

client = openai.OpenAI(
api_key="ANYAPI_API_KEY",
base_url="https://api.anyapi.ai/v1"
)

stream = client.chat.completions.create(
model="gpt-4",
messages=[{"role": "user", "content": "Hello!"}],
stream=True
)

for chunk in stream:
print(chunk.choices[0].delta.content, end="")
We use Server-Sent Events (SSE) for efficient real-time token delivery.

Pricing

Yes, credits expire based on your subscription period:
  • Monthly subscription: Credits expire after 1 month
  • Annual subscription: Credits expire after 12 months
Credits are reset at the beginning of each billing cycle and any unused credits from the previous period will not carry over.
Deleted accounts cannot recover unused credits. Export your data before deletion.
We accept multiple payment methods worldwide:
  • Credit Cards: All major cards via Stripe
  • Cryptocurrency: USDC, USDT, Bitcoin, Ethereum
  • Bank Transfers: Available for enterprise accounts

Privacy and Security

Always Logged:
  • Request metadata (timestamp, model, token counts)
  • Billing information for usage tracking
  • Error logs (without content)
Never Logged by Default:
  • Your prompts and completions
  • User-generated content
  • API response data
You have complete control over what data is logged through your privacy settings.
We prioritize your privacy:
  • Requests are proxied to model providers for completion only
  • We negotiate zero-logging agreements when possible
  • Providers with logging policies are clearly marked
  • Your privacy settings control provider selection
  • Non-compliant providers are filtered out automatically
Enterprise-grade security:
  • In Transit: TLS 1.3 encryption for all communications
  • At Rest: AES-256 encryption for stored data
  • Access Controls: Role-based permissions and MFA
  • Compliance: SOC 2, GDPR, CCPA, HIPAA available
  • Auditing: Complete audit trails for all activities

Account Management

To delete your account:
  1. Go to Settings → Security
  2. Click “Delete Account”
  3. Confirm deletion via verification email
Account deletion is permanent. Unused credits cannot be recovered.
Powerful organization features:
  • Shared Credits: Pool resources across team members
  • Role Management: Admin, Developer, and Viewer roles
  • Centralized Billing: One account for all team usage
  • API Key Control: Manage and rotate keys centrally
  • Audit Logs: Track all team member activities
Comprehensive usage analytics:Real-time Metrics:
  • Request volume and response times
  • Cost breakdown by model and time period
  • Error rates and performance monitoring
  • Token usage patterns and optimization insights
Advanced Features:
  • Custom reporting and data exports
  • Webhook notifications for thresholds
  • Integration with monitoring tools
  • Historical trends and forecasting

Troubleshooting

Authentication Errors:
  • Verify API key format: Bearer ANYAPI_API_KEY
  • Check key permissions and expiration
  • Ensure sufficient account credits
Timeout Issues:
  • Try the :fast variant for quicker responses
  • Implement exponential backoff retry logic
  • Use streaming for long-running requests
High Error Rates:
  • Review service status and rate limits
  • Verify request format matches API specification
  • Enable automatic fallbacks in requests
  • Check model availability and pricing
Multiple support channels for different needs:Technical Issues:
  • Check our documentation first
  • Search community forums
  • Join Discord for real-time help
  • Email billing@anyapi.ai
Billing Questions:Partnership Inquiries:

Don’t see your question here? Join our Discord community or contact support@anyapi.ai
I