{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"94e38445-bacc-42b2-85aa-73fbcc2fc8a2","name":"LLMsPriceCalculator API","description":"LLMsPriceCalculator API helps you calculate costs for using different AI language models. It provides pricing information and estimates for input/output tokens across various models like GPT-4 and Claude.\n\n### Overview\n\n[LLMsPriceCalculator](https://llmspricecalculator.com/) provides AI model cost calculation services with the following features:\n\n- Price estimation for individual model requests\n    \n- Bulk processing for multiple model estimates\n    \n- Model comparison with pricing benchmarks\n    \n- Detailed cost breakdown (input/output costs)\n    \n- Support for 38+ LLM models (GPT-4, Claude, etc.)\n    \n- JSON API integration for easy automation\n    \n- Real-time pricing data updates\n    \n\nOur RESTful API features:\n\n- Resource-oriented URLs\n    \n- JSON-encoded responses\n    \n- Standard HTTP response codes\n    \n\n### Authentication\n\nNo authentication (for now).\n\n### Rate Limiting\n\nLLMsPriceCalculator’s API rate limiting is in conformance with the [IETF standard](https://datatracker.ietf.org/doc/html/draft-ietf-httpapi-ratelimit-headers):\n\n| **Header** | **Description** |\n| --- | --- |\n| `X-RateLimit-Limit` | The maximum number of requests that the consumer is permitted to make per hour. |\n| `X-RateLimit-Remaining` | The number of requests remaining in the current rate limit window. |\n| `X-Rate-Limit-Reset` | The time at which the current rate limit window resets in UTC epoch seconds. |\n| `Retry-After` | The number of seconds to wait before retrying the request again. |\n\nYou’ll receive a `429 Too Many Requests` response code if the rate limit is exceeded.\n\n### Response Codes\n\nThe API returns standard HTTP response codes to indicate the success or failure of an API request. Here are a few examples:\n\n| **Code** | **Description** |\n| --- | --- |\n| 200 | The request was successful. |\n| 400 | The request was invalid or cannot be served. |\n| 401 | The request requires user authentication. |\n| 403 | The server understood the request, but refuses to authorize it. |\n| 404 | The requested resource could not be found. |\n| 429 | Too many requests. |\n| 500 | The server encountered an unexpected condition which prevented it from fulfilling the request. |\n\n### API Deprecation Policy\n\n1. Documentation marked as deprecated\n    \n2. `Sunset` header added with end date\n    \n3. Email notification sent\n    \n4. Entry added to API Changelog\n    \n5. Final notification after sunset date\n    \n\n### Performance Tips\n\nFor optimal performance:\n\n- Batch requests when possible\n    \n- Cache results locally\n    \n- Implement exponential backoff for retries\n    \n\nContact support at: [f+llm@finbarrs.eu](https://mailto:f+llm@finbarrs.eu)\n\n### API Changelog\n\n| **Date** | **Change** |\n| --- | --- |\n| 06/06/2025 | Initial Release |","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"33326789","team":6073467,"collectionId":"94e38445-bacc-42b2-85aa-73fbcc2fc8a2","publishedId":"2sB2x6kX2X","public":true,"publicUrl":"https://docs.llmspricecalculator.com","privateUrl":"https://go.postman.co/documentation/33326789-94e38445-bacc-42b2-85aa-73fbcc2fc8a2","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"documentationLayout":"classic-double-column","customisation":{"metaTags":[{"name":"description","value":"LLMsPriceCalculator API helps you calculate costs for using different AI language models. It provides pricing information and estimates for input/output tokens across various models like GPT-4 and Claude."},{"name":"title","value":"LLMsPriceCalculator.com"}],"appearance":{"default":"dark","themes":[{"name":"dark","logo":null,"colors":{"top-bar":"212121","right-sidebar":"303030","highlight":"FF6C37"}},{"name":"light","logo":null,"colors":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"}}]}},"version":"8.10.0","publishDate":"2025-06-17T13:01:52.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{"title":"LLMsPriceCalculator.com","description":"LLMsPriceCalculator API helps you calculate costs for using different AI language models. It provides pricing information and estimates for input/output tokens across various models like GPT-4 and Claude."},"logos":{"logoLight":null,"logoDark":null}},"statusCode":200},"environments":[{"name":"LLMsPriceCalculator API","id":"34a62c9a-9233-4a30-a012-ac4d1f56ff40","owner":"33326789","values":[{"key":"baseUrl","value":"https://api.llmspricecalculator.com","enabled":true,"type":"default"}],"published":true}],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://res.cloudinary.com/postman/image/upload/t_team_logo_pubdoc/v1/team/b1330b7ecc5a694de8e0da84e96c322c71bfbc680c5925e42924ddc133d17483","favicon":"https://llmspricecalculator.com/favicon.ico"},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[],"environmentOptions":[{"value":"0","label":"No Environment"},{"label":"LLMsPriceCalculator API","value":"33326789-34a62c9a-9233-4a30-a012-ac4d1f56ff40"}],"canonicalUrl":"https://documenter.gw.postman.com/view/metadata/2sB2x6kX2X"}