Varoriya AI Pricing API

Coin prices & quotes

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 3

GET /v1/pricing Pricing catalog #
GET /v1/pricing/{model} Pricing for one model #
POST /v1/pricing/quote Quote a request (no charge) #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/varoriya-com:varoriya-com-pricing-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

varoriya-com-pricing-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Varoriya Com Pricing API
  version: 1.0.0
  contact:
    name: Varoriya
    url: https://varoriya.com
  description: 'Operations tagged Pricing across 2 of this provider''s published API definitions: openapi.yaml, varoriya-com-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.varoriya.com
  description: Production
security:
- bearerAuth: []
tags:
- name: Pricing
  description: Coin prices & quotes
paths:
  /v1/pricing:
    get:
      tags:
      - Pricing
      summary: Pricing catalog
      description: Coin prices for every model. Public — no auth.
      security: []
      responses:
        '200':
          description: Catalog
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PricingCatalog'
              example:
                currency: coin
                models:
                - model: z-image
                  unit: image
                  rates:
                    Sketch: 30
                    1K: 50
                    2K: 100
                  surcharges: {}
                  qualities:
                  - Sketch
                  - 1K
                  - 2K
                  default_quality: 1K
                  aspect_ratios:
                  - '1:1'
                  - '16:9'
                  - '9:16'
                  - '4:3'
                  - '3:4'
                  - '21:9'
                  - '9:21'
                - model: flux3
                  unit: second
                  rates:
                    720p: 500
                    1080p: 850
                  surcharges: {}
                  qualities:
                  - 720p
                  - 1080p
                  default_quality: 720p
                  aspect_ratios:
                  - auto
                  - '21:9'
                  - '2:1'
                  - '16:9'
                  - '4:3'
                  - '1:1'
                  - '3:4'
                  - '9:16'
      operationId: getV1Pricing
      x-operation-id-source: derived
    servers:
    - url: https://api.varoriya.com
      description: Production
  /v1/pricing/{model}:
    get:
      tags:
      - Pricing
      summary: Pricing for one model
      security: []
      parameters:
      - name: model
        in: path
        required: true
        schema:
          type: string
        example: nanobananapro
      responses:
        '200':
          description: Model pricing
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelPricing'
        '404':
          $ref: '#/components/responses/NotFound'
      operationId: getV1PricingByModel
      x-operation-id-source: derived
    servers:
    - url: https://api.varoriya.com
      description: Production
  /v1/pricing/quote:
    post:
      tags:
      - Pricing
      summary: Quote a request (no charge)
      description: 'Compute the exact coin cost for a specific request **without**

        deducting anything. Great for a price preview before submitting.'
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GenerateRequest'
            example:
              model: nanobananapro
              prompt: x
              quality: 4K
              options:
                search: true
      responses:
        '200':
          description: Quote
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Quote'
              example:
                currency: coin
                model: nanobananapro
                quality: 4K
                aspect_ratio: auto
                unit: image
                coins: 650
                breakdown:
                  base: 600
                  surcharges:
                  - name: search
                    amount: 50
                coins_balance: 17844
                sufficient: true
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
      operationId: postV1PricingQuote
      x-operation-id-source: derived
    servers:
    - url: https://api.varoriya.com
      description: Production
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
      additionalProperties: true
    GenerateRequest:
      type: object
      required:
      - model
      - prompt
      properties:
        model:
          type: string
          enum:
          - z-image
          - grok
          - nanobananapro
          - seedream5pro
          - gptimage
          - seedance2
          - wanoptimize
          - wanoptimizet2v
          - grokvideo
          - seedaudio
          description: 'Any model (image, video or audio). This generic shape is used only

            by the pricing quote. To generate, use the kind-specific endpoint:

            image → `POST /v1/generate/image`, video → `POST /v1/generate/video`,

            audio → `POST /v1/generate/audio`.

            '
        prompt:
          type: string
          example: a lighthouse on a cliff at dawn
        quality:
          type: string
          example: 1K
        aspect_ratio:
          type: string
          example: '16:9'
        options:
          type: object
          additionalProperties: true
    PricingCatalog:
      type: object
      properties:
        currency:
          type: string
          example: coin
        models:
          type: array
          items:
            $ref: '#/components/schemas/ModelPricing'
    ModelPricing:
      type: object
      properties:
        model:
          type: string
        unit:
          type: string
          enum:
          - image
          - second
          - char
          - megapixel
        rates:
          type: object
          additionalProperties:
            type: integer
        surcharges:
          type: object
          additionalProperties:
            type: integer
        min:
          type:
          - integer
          - 'null'
        max:
          type:
          - integer
          - 'null'
        qualities:
          type: array
          items:
            type: string
        default_quality:
          type:
          - string
          - 'null'
        aspect_ratios:
          type: array
          items:
            type: string
    Quote:
      type: object
      properties:
        currency:
          type: string
          example: coin
        model:
          type: string
        quality:
          type: string
        aspect_ratio:
          type: string
        unit:
          type: string
        coins:
          type: integer
        breakdown:
          type: object
          properties:
            base:
              type: integer
            surcharges:
              type: array
              items:
                type: object
                properties:
                  name:
                    type: string
                  amount:
                    type: integer
        coins_balance:
          type: integer
        sufficient:
          type: boolean
  responses:
    Unauthorized:
      description: Missing or invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: invalid_api_key
    NotFound:
      description: Not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: not_found
    BadRequest:
      description: Invalid request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: 'unsupported_quality (allowed: 1K, 2K)'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Your generation key: varo_gk_xxxxxxxx'
x-refined-from:
- openapi.yaml
- varoriya-com-openapi.yml