Replacing your OpenAI API with RennyJ's Sound Pitch can significantly reduce your costs without changing your application's behavior. This guide shows you how to switch from OpenAI to RennyJ's Sound Pitch with minimal effort, maintaining the same functionality while saving up to 70% on your token usage costs. Plus, enjoy our Launch-30 offer: the first 30 submitters pay nothing!
To illustrate the ease of transition, let's start with a typical integration of the OpenAI API. The following example demonstrates a simple request to the /v1/chat/completions endpoint using Python.
import requests
headers = {
'Authorization': 'Bearer YOUR_OPENAI_API_KEY',
'Content-Type': 'application/json',
}
data = {
'model': 'gpt-3.5-turbo',
'messages': [{'role': 'user', 'content': 'Hello, how are you?'},],
}
response = requests.post('https://api.openai.com/v1/chat/completions', headers=headers, json=data)
print(response.json())
Switching to RennyJ's Sound Pitch involves changing the API endpoint and updating your authentication method. Here's how the same request would look with RennyJ's Sound Pitch:
import requests
headers = {
'Authorization': 'Bearer YOUR_RENNYJ_API_KEY',
'Content-Type': 'application/json',
}
data = {
'model': 'qwen2.5:72b',
'messages': [{'role': 'user', 'content': 'Hello, how are you?'},],
}
response = requests.post('https://soundpitch.zctechnologies.org/v1/chat/completions', headers=headers, json=data)
print(response.json())
The cost savings are substantial. For instance, OpenAI's pricing for 1M tokens is around $150, whereas RennyJ's Sound Pitch offers 12M tokens for $499, which is approximately $42 per 1M tokens, a 72% reduction in cost.
RennyJ's Sound Pitch's Qwen 2.5 models are served on dedicated NVIDIA GB10 silicon, ensuring high performance and reliability. The service is designed to be a seamless drop-in replacement for OpenAI, with the same API structure and response formats.
To start saving on your token usage, sign up for a prepaid LLM credit line at https://soundpitch.zctechnologies.org#plans. Choose from our Starter, Pro, or Business plans, depending on your token requirements and budget.
Sign Up for RennyJ’s Sound Pitch Now and Get Your First 30 Submissions Free!