> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anyapi.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# FAQ

> Find answers to the most commonly asked questions about our platform, API, and services

## Getting Started

<AccordionGroup>
  <Accordion title="What is AnyAPI?">
    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.
  </Accordion>

  <Accordion title="Why should I use AnyAPI?">
    * **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
  </Accordion>

  <Accordion title="How do I get started with AnyAPI?">
    1. Create an account at [anyapi.ai](https://anyapi.ai)
    2. Generate API keys from your dashboard
    3. Start making requests using our quickstart guide
    4. Monitor your usage through the analytics dashboard
  </Accordion>

  <Accordion title="How do I get support?">
    We offer multiple support channels:

    * **Discord Community**: Join our [Discord server](https://discord.gg/rJgyzGynHw) for real-time help
    * **Email Support**: Contact [support@anyapi.ai](mailto:support@anyapi.ai) for technical issues
    * **Documentation**: Browse our comprehensive docs
    * **Community Forums**: Visit our community forums for user discussions

    <Tip>
      For the fastest response, try our Discord #help channel where community members and staff are active.
    </Tip>
  </Accordion>
</AccordionGroup>

## Models and Providers

<AccordionGroup>
  <Accordion title="What AI models does AnyAPI support?">
    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

    <CardGroup cols={2}>
      <Card title="Browse Models" href="https://anyapi.ai/ai-models">
        View all available models
      </Card>

      <Card title="Models API" href="/api-reference/models/list-models">
        Fetch the complete models list programmatically
      </Card>
    </CardGroup>
  </Accordion>

  <Accordion title="How frequently are new models added?">
    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.

    <Info>
      Want to see a specific model? Let us know on [Discord](https://discord.gg/rJgyzGynHw) and we'll prioritize it.
    </Info>
  </Accordion>
</AccordionGroup>

## API Technical Specifications

<AccordionGroup>
  <Accordion title="What authentication methods are supported?">
    AnyAPI supports multiple authentication methods:

    <CodeGroup>
      ```bash Bearer Token theme={"system"}
      curl https://api.anyapi.ai/v1/chat/completions \
      -H "Authorization: Bearer your_api_key"
      ```

      ```javascript OAuth 2.0 theme={"system"}
      const token = await getOAuthToken();
      const response = await fetch('/v1/chat/completions', {
      headers: { 'Authorization': `Bearer ${token}` }
      });
      ```
    </CodeGroup>

    * **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
  </Accordion>

  <Accordion title="What input formats are supported?">
    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

    <Tip>
      For best performance, use URLs for large files instead of base64 encoding.
    </Tip>
  </Accordion>

  <Accordion title="How does streaming work?">
    Enable real-time streaming responses:

    <CodeGroup>
      ```python Python theme={"system"}
      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="")
      ```

      ```javascript JavaScript theme={"system"}
      const response = await fetch('/v1/chat/completions', {
      method: 'POST',
      headers: { 'Authorization': 'Bearer your_api_key' },
      body: JSON.stringify({
      model: 'gpt-4',
      messages: [{ role: 'user', content: 'Hello!' }],
      stream: true
      })
      });

      const reader = response.body.getReader();
      // Process streaming chunks...
      ```
    </CodeGroup>

    We use Server-Sent Events (SSE) for efficient real-time token delivery.
  </Accordion>
</AccordionGroup>

## Pricing

<AccordionGroup>
  <Accordion title="Do ₳nytokens expire?">
    It depends on your plan:

    * **Free**: Your 100K daily ₳nytokens reset every 24 hours. Unused tokens do not carry over to the next day.
    * **Developer / Pro / Enterprise**: Your ₳nytokens are accrued at the beginning of each monthly billing cycle. Unused tokens from the previous period **carry over** and are added to your new monthly allocation.
    * **Pay-as-you-go**: Purchased ₳nytokens **never expire**. Your balance persists indefinitely until used.

    When changing plans, any unused ₳nytokens you paid for carry over to the new plan. Free tier tokens are not carried over since they are complimentary. If you cancel a paid subscription, all accumulated ₳nytokens are forfeited at the end of your current billing period.

    <Warning>
      Deleted accounts cannot recover unused ₳nytokens. Export your data before deletion.
    </Warning>
  </Accordion>

  <Accordion title="What payment methods are accepted?">
    We accept multiple payment methods worldwide:

    * **Credit Cards**: All major cards via Stripe
    * **Cryptocurrency**: USDC, USDT, Bitcoin, Ethereum
    * **Bank Transfers**: Available for enterprise accounts
  </Accordion>
</AccordionGroup>

## Privacy and Security

<AccordionGroup>
  <Accordion title="What data is logged during API use?">
    **Always Logged:**

    * Request metadata (timestamp, model, token counts)
    * Billing information for usage tracking
    * Error logs (without content)
  </Accordion>

  <Accordion title="What data sharing occurs with providers?">
    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

    <Shield>
      Your privacy preferences are strictly enforced across all requests.
    </Shield>
  </Accordion>

  <Accordion title="How is data secured?">
    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
  </Accordion>
</AccordionGroup>

## Account Management

<AccordionGroup>
  <Accordion title="How can I delete my account?">
    To delete your account contact us via email:
    [support@anyapi.ai](mailto:support@anyapi.ai)

    <Warning>
      Account deletion is permanent. Unused ₳nytokens cannot be recovered.
    </Warning>
  </Accordion>

  <Accordion title="How does team management work?">
    Powerful organization features:

    * **Shared ₳nytokens**: Pool resources across team members
    * **Role Management**: Admin and User roles
    * **Centralized Billing**: One account for all team usage
    * **API Key Control**: Manage and rotate keys centrally
    * **Audit Logs**: Track all team member activities

    <CardGroup cols={2}>
      <Card title="Create Organization" href="https://dash.anyapi.ai/?page=team">
        Set up team access and billing
      </Card>

      <Card title="Invite Members" href="https://dash.anyapi.ai/?page=team">
        Add team members with appropriate roles
      </Card>
    </CardGroup>
  </Accordion>

  <Accordion title="What analytics are available?">
    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
  </Accordion>
</AccordionGroup>

## Troubleshooting

<AccordionGroup>
  <Accordion title="Common Integration Issues">
    **Authentication Errors:**

    * Verify API key format: `Bearer ANYAPI_API_KEY`
    * Check key permissions and expiration
    * Ensure sufficient account credits

    **Timeout Issues:**

    * Implement exponential backoff retry logic
    * Use streaming for long-running requests
  </Accordion>

  <Accordion title="Getting Help">
    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](mailto:billing@anyapi.ai)

    **Billing Questions:**

    * Email [support@anyapi.ai](mailto:support@anyapi.ai)
    * Include account ID and transaction details

    **Partnership Inquiries:**

    * Contact [support@anyapi.ai](mailto:support@anyapi.ai)
    * Include organization details and use case
    * We'll schedule a discovery call
  </Accordion>
</AccordionGroup>

***

<Info>
  Don't see your question here? Join our [Discord community](https://discord.gg/rJgyzGynHw) or contact [support@anyapi.ai](mailto:support@anyapi.ai)
</Info>
