MORPHWARE
HomeAboutRoadmapTelegramTwitterWebsite
  • 👋Morphware Documents
    • 🧮Abstract
    • ⛓️Web3 Client Acquisition
    • 🏭Industry Specific Solutions
    • 🗃️Competitive Analysis
    • ☁️Cloud Compute and API Integration
    • 🧠AI and Machine Learning Solutions
  • ⚙️API Docs
    • Credits
    • Pricing
    • Chat Completion
    • Ollama Embeddings
    • Image Generation
  • Overview
    • 👩‍🏫Introduction
    • 👥Team
    • 🗺️Roadmap
  • solutions
    • ❓Problem
    • 🔥Solution
  • economy
    • 🪙Tokenomics
  • Legal
    • 🎩Potential
    • 🛡️Governance and Community Engagement
  • Others
    • 📝Conclusion
  • community
    • 🌐Website
    • 🌠Telegram
    • ✖️Twitter
    • 📺Tiktok
    • 📱Instagram
    • 👀Discord
    • 💬Product
Powered by GitBook
On this page
  1. API Docs

Pricing

PreviousCreditsNextChat Completion

Last updated 1 month ago

: Required (JWT token or Api Key)

⚙️
Authentication

Model Pricing

get

Retrieves pricing information for all models or a specific model if provided. Pricing is based on model tiers and includes input and output token prices per million tokens.

Authorizations
Query parameters
model_idstringOptional

ID of the model to retrieve pricing for. If not provided, pricing for all available models will be returned.

Responses
200
Successfully retrieved pricing information
application/json
401
Not authenticated
application/json
404
Model not found (if a specific model_id was requested)
application/json
get
curl -X GET "https://app.morphware.com/api/v1/pricing" \
  -H "Authorization: Bearer <YOUR_TOKEN>"
{
  "data": [
    {
      "model_id": "llama2-7b",
      "tier": 1,
      "pricing": {
        "input_token_price": 0.003,
        "output_token_price": 0.008
      }
    },
    {
      "model_id": "llama2-13b",
      "tier": 2,
      "pricing": {
        "input_token_price": 0.23,
        "output_token_price": 0.67
      }
    }
  ]
}