What is the relation between message length and credits?
The standard length of SMS is 160 characters. Especially it is depending upon message type. if it is in Unicode or using special characters in the message.
Till 160 characters in the message used one SMS credit. If the message goes more than 160 characters then next credits are used up for that message. You can send the message up to 765 characters.